package com.xc.quickstart.mq.listener.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author syl
 * @Desc Demo消息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "Demo消息")
public class DemoMqVO {

    @ApiModelProperty(value = "ID")
    @JSONField(name = "demo_id")
    private Integer id;

    @ApiModelProperty(value = "值")
    @JSONField(name = "demo_value")
    private String value;
}
